package com.topfinance.cnaps2.service;

import java.io.Serializable;
import java.util.List;

import com.topfinance.cnaps2.dto.SysUserDto;
import com.topfinance.cnaps2.ebo.SysUserEbo;
import com.topfinance.frame.exception.AppException;


public interface ISysUserManager extends IBaseManager{

	public SysUserEbo get(Serializable id) throws AppException;

	public void addUser(SysUserDto o) throws AppException;
	
	public void deleteUser(Integer id) throws AppException;
	
	public void editUser(SysUserDto o) throws AppException;

//	public Page find(SysUserQryForm qryForm,PageReq pageReq) throws AppException;
//	
//	public SysUserEbo findUserById(long userId) throws AppException;
//	
//	public SysUserEbo findUserByLoginName(String loginName) throws AppException;
//	
//	public void changePassword(SysUserEbo o) throws AppException;
	
	public List getAllUserList(String oid) throws AppException;

//	public List checkUserName(SysUserEbo sysDepartment) throws AppException;
//	
//	public List checkLoginName(SysUserEbo sysDepartment) throws AppException;
//	
	public SysUserEbo checkLoginUser(String loginName, String password) throws AppException;
}